body {
  background: #f5b6d7;
}
* {
  margin: 0;
  padding: 0;
}
.tabs-fillet-corner {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding-top: 9px;
  overflow: hidden;
  background: #fff;
}
.tabs-fillet-corner-item-wrap {
  flex: 1;
  height: 39px;
  padding: 0 12px;
}
.tabs-fillet-corner-item-wrap:first-child .tabs-fillet-corner-item {
  border-top-left-radius: 0;
}
.tabs-fillet-corner-item-wrap:first-child
  .tabs-fillet-corner-item-active::before {
  border-radius: 0;
  transform: skew(0deg);
  left: -17px;
}
.tabs-fillet-corner-item-wrap:last-child .tabs-fillet-corner-item {
  border-top-right-radius: 0;
}

.tabs-fillet-corner-item-wrap:last-child
  .tabs-fillet-corner-item-active::after {
  border-radius: 0;
  transform: skew(0deg);
  right: -17px;
}

.tabs-fillet-corner-item {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.tabs-fillet-corner-item::before,
.tabs-fillet-corner-item::after {
  content: '';
  position: absolute;
  top: 0;
  width: 12px;
  height: 100%;
  z-index: 9;
  background-color: #fff;
}
.tabs-fillet-corner-item::before {
  border-bottom-left-radius: 6px;
  transform: skew(17deg);
  left: -18px;
}
.tabs-fillet-corner-item::after {
  border-bottom-right-radius: 6px;
  transform: skew(-17deg);
  right: -18px;
}
.tabs-fillet-corner-item-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto;
  font-size: 13px;
  line-height: 39px;
  color: black;
  text-align: center;
  position: relative;
  cursor: pointer;
  z-index: 99;
}
.tabs-fillet-corner-item-active {
  background: #f5b6d7;
  z-index: 2;
}
.tabs-fillet-corner-item-active .tabs-fillet-corner-item-text {
  font-weight: 500;
  color: #fe4960;
}
.tabs-fillet-corner-item-active::before,
.tabs-fillet-corner-item-active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 17px;
  height: 100%;
  background: #f5b6d7;
  border-radius: 17px 17px 0 0;
}
.tabs-fillet-corner-item-active::before {
  transform: skew(-17deg);
  left: -6.5px;
  box-shadow: -5px 15px 0 #f5b6d7;
}
.tabs-fillet-corner-item-active::after {
  transform: skew(17deg);
  right: -6.5px;
  box-shadow: 5px 15px 0 0 #f5b6d7;
}
